<tagLib name="html" />

<include file="Public:header" />

<div class="container" id="cpcontainer">
    <div class="itemtitle">
        <h3>{$Think.lang.tag.manage_tag}</h3>
        <ul class="tab1">
            <li><a href="__URL__/searchTag"><span>{$Think.lang.tag.search_tag}</span></a></li>
            <li class="current"><empty name="rs"><a href="__URL__/addTag"><span>{$Think.lang.tag.add_tag}</span></a><else/><a href="__URL__/editTag/tag_id/{$rs.tag_id}"><span>{$Think.lang.tag.edit_tag}</span></a></empty></li>
            <li><a href="__URL__/tagList"><span>{$Think.lang.tag.all_tag}</span></a></li>
        </ul>
    </div>

    <form name="cpform" method="post" action="__ACTION__">
    <input type="hidden" name="op" value="save" />
    <input type="hidden" name="tag_id" value="{$rs.tag_id}" />
    <table class="tb tb2">
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.tag.tag_name}:</td></tr>
        <tr>
            <td class="vtop rowform"><input name="name" value="{$rs.name}" type="text" class="txt" /></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.tag.tag_status}</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="status" radios="tagStatusRadios" checked="tagStatusChecked" separator=" " />
            </td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.tag.tag_description}</td></tr>
        <tr>
            <td class="vtop rowform">
            <textarea  rows="6" onkeyup="textareasize(this)" name="description" id="description" cols="50" class="tarea">{$rs.description}</textarea></td>
            <td class="vtop tips2"></td>
        </tr>
        <tr class="nobg"><td colspan="15"><div class="fixsel"><input class="btn" type="submit" value="{$Think.lang.submit}" /></div></td></tr>
    </table>
    </form>
</div>

<include file="Public:footer" />
